x86: fix a few 32-on-64 compat mode issues
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 12 May 2008 09:15:07 +0000 (10:15 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 12 May 2008 09:15:07 +0000 (10:15 +0100)
commitfb94ee0dddfbed5d759b9bfbc69dd01a40497520
treefa33fbac93e722fd5fa1023b3699260d2e4f4645
parent286b11f71d43cb6b4779353cbd05376ceee2b609
x86: fix a few 32-on-64 compat mode issues

- handle VCPUOP_register_vcpu_info and VCPUOP_get_physid (and add
  respective layout checks)
- add missing structure size check for struct vcpu_info
- add missing layout check for vcpu_set_periodic_timer
- handle VCPUOP_set_singleshot_timer via argument translation as the
  structure sizes differ (due to padding in 64-bits)

Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen/arch/x86/x86_64/domain.c
xen/common/compat/domain.c
xen/include/xlat.lst
xen/tools/get-fields.sh